Skip to main content

ON_SEARCH_TRAPS

ON_SEARCH_TRAPS

This event is triggered upon the first search for Traps by any hero. If the Marker is in a Room, it is executed when a search is performed in that room; if it is in a Corridor, it is executed when a search is performed and the Marker is in the line of sight of the hero performing the search.

NOTE: For this Event, the REPEAT option can be specified.

Attention: Using the ON_SEARCH_TRAPS event alone does not automatically reveal the trap. To do so, you need to add a SHOW action in the cell with the trap (see Example 2 below).

  • Example 1: {[[(A), ON_SEARCH_TRAPS:REPEAT]] You don’t find anything in the room!}
  • Example 2: {[[(A), ON_SEARCH_TRAPS]] Just in front of the fireplace, the floor seems unstable [[SHOW(P7) ]]}

In Example 1 above, upon searching for traps, only a custom message appears: "You don’t find anything dangerous in the room}" In Example 2, after searching, the message appears and a question mark will appear in cell P7, indicating that there is a trap that can be disarmed.